﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class Index : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void lnk_Click(object sender, EventArgs e)
        {
            this.Response.Redirect("NewAccount.aspx");
        }

        protected void btnQueryCategory_Click(object sender, EventArgs e)
        {
            if (txtCategoryID.Text.Trim() != string.Empty)
            {
                this.Response.Redirect(string.Format("Categories.aspx?ID={0}", this.txtCategoryID.Text));
            }
        }
    }
}